package com.baobao.service;

import com.baobao.domain.Address;
import com.baobao.domain.Teacher;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for Teacher entities
 * 
 */
public interface TeacherService {

	/**
	 * Delete an existing Teacher entity
	 * 
	 */
	public void deleteTeacher(Teacher teacher);

	/**
	 */
	public Teacher findTeacherByPrimaryKey(String phone);
	
	/**
	 *  根据banjiId查找teacher列表
	 */
	public Set<Teacher> findTeacherByBanjiId(String banjiId);

	/**
	 * Return all Teacher entity
	 * 
	 */
	public List<Teacher> findAllTeachers(Integer startResult, Integer maxRows);

	/**
	 * Return a count of all Teacher entity
	 * 
	 */
	public Integer countTeachers();

	/**
	 * Save an existing Teacher entity
	 * 
	 */
	public void saveTeacher(Teacher teacher_1);

	/**
	 * Load an existing Teacher entity
	 * 
	 */
	public Set<Teacher> loadTeachers();
}